package com.hy.convenient.api.server;

import com.hy.convenient.api.dao.PromotionCollectionMapper;
import com.hy.convenient.api.pojo.PromotionCollectionPojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @className PromotionColDownServer
 * @Author hdy
 * @Date 2020-12-30 10:12
 * @Version 1.0
 */
@Repository
public class PromotionColDownServer implements  ApiServerInterface<PromotionCollectionPojo> {
    @Autowired
    private PromotionCollectionMapper promotion;
    @Override
    public List<PromotionCollectionPojo> queryDownList(Map<String, Object> map) {
        return promotion.queryDownList(map);
    }

    @Override
    public int queryCount(Map<String, Object> t) {
        return promotion.queryCount(t);
    }

    @Override
    public List<PromotionCollectionPojo> queryUpdateDownList(Map<String, Object> map) {
        return promotion.queryUpdateDownList(map);
    }
}
